package ex.algorithms.datastructures;

public class LinkedListItem {
	private int value;
	private LinkedListItem next;
	private LinkedListItem prev;
	
	public LinkedListItem(int value) {
		this.value = value;
	}
	
	public int getValue() {
		return value;
	}


	public void setValue(int value) {
		this.value = value;
	}


	public void setNext(LinkedListItem next) {
		this.next = next;
	}


	public void setPrev(LinkedListItem prev) {
		this.prev = prev;
	}


	public LinkedListItem getNext() {
		return next;
	}
	
	public LinkedListItem getPrev() {
		return prev;
	}
}
